@(userForm: Form[AccountController.Login])
@import helper.twitterBootstrap._



<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Innskráning</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">

    <link rel="stylesheet" href="/public/stylesheets/bootstrap.min.css">
    <link rel="stylesheet" href="/public/stylesheets/bootstrap-responsive.min.css">
    <link rel="stylesheet" href="/public/stylesheets/main.css">

</head>

    <style type="text/css">
            /* Override some defaults */


    </style>


    <body>
        <div class="container">
            <div class="content">
                <div class="row">
                    <div class="login-form">
                        @if(flash.contains("success")) {
                            <p class="success">
                                @flash.get("success")
                            </p>
                        }
                        <h2>Innskráning</h2>
                        @helper.form(action = routes.AccountController.authenticate()) {
                            @if(userForm.hasGlobalErrors) {
                                <p class="error">
                                    @userForm.globalError.message
                                </p>
                            }
                            <fieldset>
                                <div class="clearfix">
                                    <input type="text" name="name" placeholder="name" value="@userForm("name").value">
                                </div>
                                <div class="clearfix">
                                    <input type="password" name="password" placeholder="Password">
                                </div>
                                <div class="actions">
                                    <input type="submit" class="btn btn-primary" value="Innskrá">
                                </div>
                            </fieldset>
                        }
                    </div>
                </div>
            </div>
        </div> <!-- /container -->

        <!-- Scripts -->

        <!--<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.9.1.min.js"></script></script>')   -->

        <script src="/public/js/vendor/modernizr.min.js"></script>
        <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
        <script src="/public/js/vendor/bootstrap.min.js"></script>
        <script src="/public/js/main.js"></script>

    </body>
</html>

